package bosc.cn.converter.payment;

import bosc.cn.dto.payment.PaymentConfirmResDTO;
import bosc.cn.dto.transaction.TransactionStatusResDTO;
import bosc.cn.service.payment.bo.PaymentConfirmResBO;
import bosc.cn.service.transaction.bo.TransactionStatusResBO;

public class PaymentConfirmResConverter {

    public static PaymentConfirmResDTO toDTO(PaymentConfirmResBO bo) {
        if (bo == null) {
            return null;
        }
        PaymentConfirmResDTO dto = new PaymentConfirmResDTO();
        dto.setPrcSts(bo.getPrcSts());
        dto.setPrcMsg(bo.getPrcMsg());

        return dto;
    }

}
